package com.zdc.learn.netty.rpc.provider;

import com.zdc.learn.netty.rpc.service.HelloService;

public class HelloServiceImpl implements HelloService {
    @Override
    public String hello(String msg) {
        if (null == msg){
            return "未收到消息嗷嗷嗷嗷。。。。。。。。。。。";
        }else {
            return "收到消息。。。。。。。："+msg;
        }

    }
}
